package com.cooper.scraper.show;

import com.cooper.android.comm.Resource;

import android.content.Context;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.view.Display;

public interface FanartViewStrategy<T extends Resource> {
	
	public static final int WAIT_VIEW_TYPE = 0;
	public static final int FANART_VIEW_TYPE = 1;

	public abstract Bitmap getMediaFanart(T media,float fanartWidth,float fanartHeight);
	
	public abstract Bitmap getWaitingSrcImg();

	public abstract void onReturnView(FanartViewHolder<T> holder, int type);
	
	public abstract void onConverView(FanartViewHolder<T> holder);
	
	public abstract void init(Context context,FanartImgStrategy fanartImgStrategy, int showCount);
	
	public abstract void destroy();
	
	public abstract void reset();
	
	public abstract void configurationChanged(Configuration configuration,
			Display display,int showCount);
	

}
